package com.htudata.live.pojo.vo;

import lombok.Data;

import java.io.Serializable;
@Data
public class AlarmStatisVO implements Serializable {
  private static final long serialVersionUID = 381221254311965528L;
  
  private int level;
  private String color;
  private String all;
  

  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof AlarmStatisVO))
      return false; 
    AlarmStatisVO other = (AlarmStatisVO)o;
    if (!other.canEqual(this))
      return false; 
    if (getLevel() != other.getLevel())
      return false; 
    Object this$color = getColor(), other$color = other.getColor();
    if ((this$color == null) ? (other$color != null) : !this$color.equals(other$color))
      return false; 
    Object this$all = getAll(), other$all = other.getAll();
    return !((this$all == null) ? (other$all != null) : !this$all.equals(other$all));
  }
  
  protected boolean canEqual(Object other) {
    return other instanceof AlarmStatisVO;
  }



  public AlarmStatisVO(int level, String color, String all) {
    this.level = level;
    this.color = color;
    this.all = all;
  }
  
  public AlarmStatisVO() {}
}
